import { getData, postData } from "@/utils/request";

/**
 * 获取主题党日列表
 */
export const getThemedayList = async (page, pageSize) => {
    const themedayList = await postData('/serviceThemeDay/queryThemeDayList', { page, pageSize });
    return themedayList;
};

/**
 * 查询主题党日详情
 */
export const getThemedayDetail = async (id) => {
    const themedayDetail = await getData(`/serviceThemeDay/queryThemeDayDetail/${id}`);
    return themedayDetail;
};